package cn.iot.sys.dao;

import cn.iot.sys.entity.SysDormitory;

import java.util.List;
import java.util.Map;

public interface SysDormitoryDao {
    public List<SysDormitory> getSysDormitoryList();
    public int addDormitory(SysDormitory sysDormitory);
    public List<SysDormitory> getSysDormitory(Map<String,Object> map);
    public int getSysDormitoryCount(Map<String,Object> map);
    public int updDormitoryById(SysDormitory sysDormitory);
    public SysDormitory getSysDorByLocationName(String locationName);
    public int delSysDormitoryById(int id);
}
